package com.gnerv.author.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 博客平台-栏目文章绑定表
 * </p>
 *
 * @author Gnerv LiGen
 * @since 2019-07-15
 */
@TableName("blog_catalog_article")
public class CatalogArticle implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 栏目业务主键
     */
    private String cId;

    /**
     * 文章业务主键
     */
    private String aId;

    public CatalogArticle() {
    }

    public CatalogArticle(String aId) {
        this.aId = aId;
    }

    public CatalogArticle(String cId, String aId) {
        this.cId = cId;
        this.aId = aId;
    }

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public String getaId() {
        return aId;
    }

    public void setaId(String aId) {
        this.aId = aId;
    }

    @Override
    public String toString() {
        return "CatalogArticle{" +
                "cId=" + cId +
                ", aId=" + aId +
                "}";
    }
}
